#ifndef SSL_TYPES_H
#define SSL_TYPES_H

enum class SslVersion
{
    Ssl10,
    Ssl11,
    Ssl12,
    Ssl13
};

enum class SslError
{
    None,
    WantRead,
    WantWrite,
    SysCall, // 系统调用错误
    Ssl,     // 协议错误
    Unknown
};

enum class SslState
{
    Handshake,
    Established,
    Shutdown,
    Error
};

#endif // SSL_TYPES_H